Optimal. Leaf size=432 \[ \frac{f (a+b x)^{m+1} (c+d x)^{1-m} \left (a^2 d^2 f^2 \left (m^2-5 m+6\right )-2 a b d f \left (6 d e (2-m)-c f \left (3-m^2\right )\right )-2 b d f x (a d f (3-m)-b (6 d e-c f (m+3)))+b^2 \left (c^2 f^2 \left (m^2+5 m+6\right )-12 c d e f (m+2)+30 d^2 e^2\right )\right )}{24 b^3 d^3}-\frac{(a+b x)^{m+1} (c+d x)^{-m} \left (\frac{b (c+d x)}{b c-a d}\right )^m \left (a^3 d^3 f^3 \left (-m^3+6 m^2-11 m+6\right )-3 a^2 b d^2 f^2 \left (m^2-3 m+2\right ) (4 d e-c f (m+1))+3 a b^2 d f (1-m) \left (c^2 f^2 \left (m^2+3 m+2\right )-8 c d e f (m+1)+12 d^2 e^2\right )+b^3 \left (-\left (-c^3 f^3 \left (m^3+6 m^2+11 m+6\right )+12 c^2 d e f^2 \left (m^2+3 m+2\right )-36 c d^2 e^2 f (m+1)+24 d^3 e^3\right )\right )\right ) \, _2F_1\left (m,m+1;m+2;-\frac{d (a+b x)}{b c-a d}\right )}{24 b^4 d^3 (m+1)}+\frac{f (e+f x)^2 (a+b x)^{m+1} (c+d x)^{1-m}}{4 b d} \]
[Out]
_______________________________________________________________________________________
Rubi [A] time = 1.25691, antiderivative size = 431, normalized size of antiderivative = 1., number of steps used = 4, number of rules used = 4, integrand size = 24, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.167 \[ \frac{f (a+b x)^{m+1} (c+d x)^{1-m} \left (a^2 d^2 f^2 \left (m^2-5 m+6\right )-2 a b d f \left (6 d e (2-m)-c f \left (3-m^2\right )\right )+2 b d f x (-a d f (3-m)-b c f (m+3)+6 b d e)+b^2 \left (c^2 f^2 \left (m^2+5 m+6\right )-12 c d e f (m+2)+30 d^2 e^2\right )\right )}{24 b^3 d^3}-\frac{(a+b x)^{m+1} (c+d x)^{-m} \left (\frac{b (c+d x)}{b c-a d}\right )^m \left (a^3 d^3 f^3 \left (-m^3+6 m^2-11 m+6\right )-3 a^2 b d^2 f^2 \left (m^2-3 m+2\right ) (4 d e-c f (m+1))+3 a b^2 d f (1-m) \left (c^2 f^2 \left (m^2+3 m+2\right )-8 c d e f (m+1)+12 d^2 e^2\right )+b^3 \left (-\left (-c^3 f^3 \left (m^3+6 m^2+11 m+6\right )+12 c^2 d e f^2 \left (m^2+3 m+2\right )-36 c d^2 e^2 f (m+1)+24 d^3 e^3\right )\right )\right ) \, _2F_1\left (m,m+1;m+2;-\frac{d (a+b x)}{b c-a d}\right )}{24 b^4 d^3 (m+1)}+\frac{f (e+f x)^2 (a+b x)^{m+1} (c+d x)^{1-m}}{4 b d} \]
Antiderivative was successfully verified.
[In] Int[((a + b*x)^m*(e + f*x)^3)/(c + d*x)^m,x]
[Out]
_______________________________________________________________________________________
Rubi in Sympy [A] time = 138.712, size = 556, normalized size = 1.29 \[ \text{result too large to display} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] rubi_integrate((b*x+a)**m*(f*x+e)**3/((d*x+c)**m),x)
[Out]
_______________________________________________________________________________________
Mathematica [C] time = 2.98784, size = 440, normalized size = 1.02 \[ (a+b x)^m (c+d x)^{-m} \left (\frac{9 a c e^2 f x^2 F_1\left (2;-m,m;3;-\frac{b x}{a},-\frac{d x}{c}\right )}{6 a c F_1\left (2;-m,m;3;-\frac{b x}{a},-\frac{d x}{c}\right )+2 m x \left (b c F_1\left (3;1-m,m;4;-\frac{b x}{a},-\frac{d x}{c}\right )-a d F_1\left (3;-m,m+1;4;-\frac{b x}{a},-\frac{d x}{c}\right )\right )}+\frac{4 a c e f^2 x^3 F_1\left (3;-m,m;4;-\frac{b x}{a},-\frac{d x}{c}\right )}{4 a c F_1\left (3;-m,m;4;-\frac{b x}{a},-\frac{d x}{c}\right )+m x \left (b c F_1\left (4;1-m,m;5;-\frac{b x}{a},-\frac{d x}{c}\right )-a d F_1\left (4;-m,m+1;5;-\frac{b x}{a},-\frac{d x}{c}\right )\right )}+\frac{5 a c f^3 x^4 F_1\left (4;-m,m;5;-\frac{b x}{a},-\frac{d x}{c}\right )}{20 a c F_1\left (4;-m,m;5;-\frac{b x}{a},-\frac{d x}{c}\right )+4 b c m x F_1\left (5;1-m,m;6;-\frac{b x}{a},-\frac{d x}{c}\right )-4 a d m x F_1\left (5;-m,m+1;6;-\frac{b x}{a},-\frac{d x}{c}\right )}-\frac{e^3 (c+d x) \left (\frac{d (a+b x)}{a d-b c}\right )^{-m} \, _2F_1\left (1-m,-m;2-m;\frac{b (c+d x)}{b c-a d}\right )}{d (m-1)}\right ) \]
Warning: Unable to verify antiderivative.
[In] Integrate[((a + b*x)^m*(e + f*x)^3)/(c + d*x)^m,x]
[Out]
_______________________________________________________________________________________
Maple [F] time = 0.1, size = 0, normalized size = 0. \[ \int{\frac{ \left ( bx+a \right ) ^{m} \left ( fx+e \right ) ^{3}}{ \left ( dx+c \right ) ^{m}}}\, dx \]
Verification of antiderivative is not currently implemented for this CAS.
[In] int((b*x+a)^m*(f*x+e)^3/((d*x+c)^m),x)
[Out]
_______________________________________________________________________________________
Maxima [F] time = 0., size = 0, normalized size = 0. \[ \int{\left (f x + e\right )}^{3}{\left (b x + a\right )}^{m}{\left (d x + c\right )}^{-m}\,{d x} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] integrate((f*x + e)^3*(b*x + a)^m/(d*x + c)^m,x, algorithm="maxima")
[Out]
_______________________________________________________________________________________
Fricas [F] time = 0., size = 0, normalized size = 0. \[{\rm integral}\left (\frac{{\left (f^{3} x^{3} + 3 \, e f^{2} x^{2} + 3 \, e^{2} f x + e^{3}\right )}{\left (b x + a\right )}^{m}}{{\left (d x + c\right )}^{m}}, x\right ) \]
Verification of antiderivative is not currently implemented for this CAS.
[In] integrate((f*x + e)^3*(b*x + a)^m/(d*x + c)^m,x, algorithm="fricas")
[Out]
_______________________________________________________________________________________
Sympy [F(-1)] time = 0., size = 0, normalized size = 0. \[ \text{Timed out} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] integrate((b*x+a)**m*(f*x+e)**3/((d*x+c)**m),x)
[Out]
_______________________________________________________________________________________
GIAC/XCAS [F] time = 0., size = 0, normalized size = 0. \[ \int \frac{{\left (f x + e\right )}^{3}{\left (b x + a\right )}^{m}}{{\left (d x + c\right )}^{m}}\,{d x} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] integrate((f*x + e)^3*(b*x + a)^m/(d*x + c)^m,x, algorithm="giac")
[Out]